package com.bank.bank.account.mapper;

import com.bank.bank.account.pojo.entity.Account;
import com.bank.bank.account.pojo.vo.AccountTransactionVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AccountMapper {
    int insertAccount(Account account);

    List<Account> selectAllAccount();

    int deleteAccountById(Long accountId);

    AccountTransactionVO selectAccountTransactionByAccountId(Integer accountId);
}
